//
//  HCNewsListTableViewCell.m
//  HappyChildren
//
//  Created by WillyZhao on 2017/5/25.
//  Copyright © 2017年 WillyZhao. All rights reserved.
//

#import "HCNewsListTableViewCell.h"

#import "HCNewsListModel.h"

@implementation HCNewsListTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.lineView.backgroundColor = YBKRGBCOLOR(241, 241, 241, 1);
    // Initialization code
}

-(void)setModel:(id)model {
    HCNewsListData *data = model;
    self.desc.text = [NSString stringWithFormat:@"%@",data.title];
    self.time.text = [NSString stringWithFormat:@"%@",data.create_time];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
